package com.bos.dao.repositories;

import com.bos.domian.base.Area;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author misterWei
 * @create 2018年11月13号:17点03分
 * @mailbox mynameisweiyan@gmail.com
 */
public interface AreaRepository extends JpaRepository<Area,String> ,JpaSpecificationExecutor<Area> {
    //查找省市区的区域对象
    Area findByProvinceAndCityAndDistrict(String province, String city, String district);
}
